<?php
namespace app\mobile\controller;
use clt\Lunar;
class Index extends Common{
    public function initialize(){
        parent::initialize();
    }
    public function index(){
        $prolist = db('picture')->where([['posid','=',1]])->order('sort asc,createtime desc')->limit('6')->select();
        $this->assign('prolist',$prolist);

        $newlist = db('article')->where([['posid','=',1]])->order('sort asc,createtime desc')->limit('6')->select();
        $this->assign('newlist',$newlist);

        return view();
    }
}